package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.pojo.entity.Business;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * \* User: chy
 * \* Date: 2025/8/17   18:42
 * \* Description:
 * \
 */
@Mapper
public interface BusinessMapper extends BaseMapper<Business> {
    /*
    * 根据id集合查询所有对象
    * */
    List<Business> geyByIds(List<String> businessIds);

    @Select("select * from tb_business")
    List<Business> AllList();
}
